All of these functions uses variable stdrast which will is initialized by opening window with OpenW() function or via SetStdRast() function.

  • Colour(a,b=-1)
    This functions sets default colour <a> and <b> (<b> is currently useless)

  • Plot(x,y,c=-1)
    This function draws pixel coloured with colour <c>, if no colour specified, default colour will be used.

  • Line(xa,ya,xb,yb,c=-1)
    This functions draws line from <xa>,<ya> to <xb>,<yb> by colour <c>, if colour not specified default colour will be used.

  • Box(xa,ya,xb,yb,c=-1)
    This functions draws rectangle from <xa>,<ya> to <xb>,<yb> by colour <c>, if colour not specified default colour will be used.

  • Circle(x,y,r,c=-1)
    This function draws circle with center on coords <x>,<y> and with radius <r> coloured with colour <c>, if no colour specified, default colour will be used.

  • Ellipse(x,y,rx,ry,c=-1)
    This function draws circle with center on coords <x>,<y> and with radiuses <rx> and <ry> coloured with colour <c>, if no colour specified, default colour will be used.

  • SetColour(s,n,r,g,b)
    This function sets colour <n> of screen <s> to value given by <r>,<g>,<b>.